package com.gopay.common.domain.bank.boc.bcdl.querybalance.res;

import java.io.Serializable;
import java.util.List;

import com.gopay.common.domain.bank.boc.bcdl.BaseBody;
import com.gopay.common.domain.bank.boc.bcdl.ResResultStatus;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@XStreamAlias("bocb2e")
public class TransResQueryBalanceBody extends BaseBody {

	/**
	 * 
	 */
	private static final long serialVersionUID = -977426776546665716L;
	
	@XStreamAlias("trans") 
	private List<Inner> trans;
	
	public List<Inner> getTrans() {
		return trans;
	}

	public void setTrans(List<Inner> trans) {
		this.trans = trans;
	}
	
	@XStreamAlias("trn-b2e0005-rs")
	public static class Inner implements Serializable{
		
		/**
		 * 
		 */
		private static final long serialVersionUID = 4701878133305482512L;

		@XStreamImplicit(itemFieldName="b2e0005-rs")
		private List<TransResQueryBalance> balance;
		
		@XStreamAlias("status")
		private ResResultStatus status;
		
		public ResResultStatus getStatus() {
			return status;
		}
		
		public void setStatus(ResResultStatus status) {
			this.status = status;
		}

		public List<TransResQueryBalance> getBalance() {
			return balance;
		}

		public void setBalance(List<TransResQueryBalance> balance) {
			this.balance = balance;
		}
	}

}
